/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fee.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 收款明细Entity
 * @author 李超辉
 * @version 2018-04-16
 */
public class RecivedDetil extends DataEntity<RecivedDetil> {
	
	private static final long serialVersionUID = 1L;
	private String recive;		// 应收结算单
	private String person;		// 开票人
	private String type;		// 收款方式
	private Double money;		// 收款金额
	private Date date;		// 收款时间
	private String fee;		// 票据号码
	
	public RecivedDetil() {
		super();
	}

	public RecivedDetil(String id){
		super(id);
	}

	@ExcelField(title="应收", align=2, sort=1)
	public String getRecive() {
		return recive;
	}

	public void setRecive(String recive) {
		this.recive = recive;
	}
	
	@ExcelField(title="收款人", align=2, sort=2)
	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}
	
	@ExcelField(title="收款方式", dictType="	pay_method_type", align=2, sort=3)
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	@ExcelField(title="收款金额", align=2, sort=4)
	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="收款时间", align=2, sort=5)
	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	@ExcelField(title="票据号码", align=2, sort=6)
	public String getFee() {
		return fee;
	}

	public void setFee(String fee) {
		this.fee = fee;
	}
	
}